<?php

/**
 * DynamicUserPermissionFacade (Singleton)
 * 
 * Facade for retrieving dynamic permissions
 * 
 * @author Maximilian Lenkeit <dev@lenki.com>
 */
class DynamicUserPermissionFacade {
  
  /**
   * Singleton
   * @var DynamicUserPermissionFacade
   */
  private static $instance = null;
  
  private function __construct() {
    
  }
  
  /**
   * Get singleton instance
   * @return DynamicUserPermissionFacade
   */
  public static function getInstance() {
    if(is_null(self::$instance)) {
      self::$instance = new self();
    }
    return self::$instance;
  }
}